package com.ditian.model;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 人脸
 * @author chenweiyi
 *
 */
public class Face {
	/**
	 * 人脸的标识
	 */
	@JSONField(name="face_token")
	private String faceToken;
	
	/**
	 * 人脸矩形框的位置
	 */
	@JSONField(name="face_rectangle")
	private Rectangle faceRectangle;
	
	/**
	 * 人脸的83个关键点坐标数组
	 */
	@JSONField(name="landmark")
	private Landmark landmark;
	
	/**
	 * 人脸属性特征
	 */
	@JSONField(name="attributes")
	private Attribute attributes;
	
	
	public String getFaceToken() {
		return faceToken;
	}
	public void setFaceToken(String faceToken) {
		this.faceToken = faceToken;
	}
	public Rectangle getFaceRectangle() {
		return faceRectangle;
	}
	public void setFaceRectangle(Rectangle faceRectangle) {
		this.faceRectangle = faceRectangle;
	}
	public Landmark getLandmark() {
		return landmark;
	}
	public void setLandmark(Landmark landmark) {
		this.landmark = landmark;
	}
	public Attribute getAttributes() {
		return attributes;
	}
	public void setAttributes(Attribute attributes) {
		this.attributes = attributes;
	}
	@Override
	public String toString() {
		return "Face [faceToken=" + faceToken + ", faceRectangle="
				+ faceRectangle + ", landmark=" + landmark + ", attributes="
				+ attributes + "]";
	}
	
	

}
